﻿@model Gfw.Web.Models.AnnouncementQueryModel

@{
    ViewBag.Title = "历史公告";
    Layout = "~/Views/Shared/_LayoutContent.cshtml";
}

@using C.Mvc;

@using(Html.BeginForm())
{
    <div id="button">
        @Html.EditorFor(m => m.Key)
        @Html.EditorFor(m => m.Start)
        @Html.EditorFor(m => m.End)

        <input type="submit" value="查询" />
    </div>
    
    <div style="align">
        @Html.ValidationSummary(true)
        @Html.ValidationMessageFor(model => model.Key)
        @Html.ValidationMessageFor(model => model.Start)
        @Html.ValidationMessageFor(model => model.End)
    </div>
}

<div id="@Gfw.Web.Common.ViewHelper.AjaxContainer">
    @{Html.RenderAction("List", "Announcement");}
</div>